package com.xtaller.lazy.parameter;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @version V1.0
 * @author: Taller
 * @date: 2019-04-25
 * @Description: 画像标签
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "画像标签")
public class DocLabel {
    @ApiModelProperty(value = "画像标签名称")
    @TableField(value = "name")
    private String name;

    @ApiModelProperty(value = "父级id")
    @TableField(value = "parentId")
    private Long parentId;

    @ApiModelProperty(value = "画像标签编码")
    @TableField(value = "code")
    private String code;

    @ApiModelProperty(value = "数据类型")
    @TableField(value = "type")
    private String type;

    @ApiModelProperty(value = "对应数据字典 code")
    @TableField(value = "dictCode")
    private String dictCode;

    @ApiModelProperty(value = "排序")
    @TableField(value = "orderNumber")
    private int orderNumber;

    @ApiModelProperty(value = "状态 1启动 0停用")
    @TableField(value = "state")
    private int state;

    @ApiModelProperty(value = "备注信息")
    @TableField(value = "remark")
    private String remark;
}
